export default {
  path: "/complain",
  meta: {
    title: "投诉与公告",
    rank: 2
  },
  children: [
    {
      path: "/complain/list",
      name: "complainList",
      component: () => import("@/views/complain/list.vue"),
      meta: {
        title: "投诉列表",
        roles: [1, 2],
        auths: ['1']
      }
    },
    {
      path: "/complain/reply/:id",
      name: "complainReply",
      component: () => import("@/views/complain/edit.vue"),
      meta: {
        title: "处理投诉",
        roles: [1, 2],
        showLink: false
      }
    },
    {
      path: "/notice/list",
      name: "noticeList",
      component: () => import("@/views/note/list.vue"),
      meta: {
        title: "公告列表",
        roles: [1, 2]
      }
    }
  ]
};
